package cn.codeforfun.gitee.bean;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author wangbin
 */
@Data
public class GiteeRequest {
    @JsonProperty("access_token")
    @NotBlank(message = "用户授权码(accessToken)不能为空")
    private String accessToken;
}
